package top.tangyh.lamp.care.vo.update;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import top.tangyh.basic.base.entity.SuperEntity;
import java.io.Serializable;

/**
 * <p>
 * 表单修改方法VO
 * 压疮评估项目字典表
 * </p>
 *
 * @author zqb
 * @date 2024-07-16 14:57:44
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString(callSuper = true)
@Accessors(chain = true)
@EqualsAndHashCode
@Builder
@Schema(description = "压疮评估项目字典")
public class BYcDadDictUpdateVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "")
    @NotNull(message = "请填写", groups = SuperEntity.Update.class)
    private Long id;

    /**
     * 评估项目id
     */
    @Schema(description = "评估项目id")
    private Long dadId;
    /**
     * 评估项目代码
     */
    @Schema(description = "评估项目代码")
    @Size(max = 64, message = "评估项目代码长度不能超过{max}")
    private String dadCode;
    /**
     * 评估项目名称
     */
    @Schema(description = "评估项目名称")
    @Size(max = 64, message = "评估项目名称长度不能超过{max}")
    private String dadName;
    /**
     * 评估值
     */
    @Schema(description = "评估值")
    @Size(max = 255, message = "评估值长度不能超过{max}")
    private String dadScore;
    /**
     * 父id
     */
    @Schema(description = "父id")
    private Long dadSupid;
    /**
     * 排序
     */
    @Schema(description = "排序")
    private Integer dadSort;


}
